package lt.f2g.domain.menu;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;

import lt.f2g.domain.forum.ForumThread;

@Entity
public class ForumCategory extends SubCategory {

    @OneToMany
    @JoinColumn(name="FORUM_CATEGORY_ID")
    private List<ForumThread> forumThreads;

    public List<ForumThread> getForumThreads() {
        return forumThreads;
    }

    public void setForumThreads(List<ForumThread> forumThreads) {
        this.forumThreads = forumThreads;
    }
    
}
